package utiltest;

import java.util.UUID;

import org.junit.Test;

import com.baizhi.zjs.util.MybatisUtil;
import com.baizhi.zjs.util.UUIDUtil;

public class utiltest {
@Test
public void sw(){
	System.out.println(MybatisUtil.getSqlSession());
}
@Test
public void uuid(){
	UUID uuid = UUID.randomUUID();
	String string = uuid.toString();
	System.out.println(string );
	String string2=string.replace("-", "");
	System.out.println(string2);
}
@Test
public void uuid2(){
UUIDUtil util = new UUIDUtil();
String uuid = util.getUuid();
System.out.println(uuid);
}
@Test
public void uuid3(){
	String uuid = UUIDUtil.getUuid();
	System.out.println(uuid);
}
}
